export default {
    system: {
        system_tip: "系统提示",
        system_confirm: "确定",
        system_cancel: "取消",
    },
    page: {
        login: {
            title: "控制台",
            email: "邮箱",
            email_placeholder: "请输入邮箱",
            passwd: "密码",
            passwd_placeholder: "请输入密码",
            login_btn: "登录系统",
            register_left: "还没有账号？",
            register_link: "立即注册",
        },
        register: {
            title: "用户注册",
            email: "邮箱",
            email_placeholder: "请输入邮箱",
            passwd: "密码",
            passwd_placeholder: "请输入密码",
            confirm_passwd: "确认密码",
            confirm_passwd_placeholder: "请再次输入密码",
            register_btn: "注册账户",
            login_left: "已有账号？",
            login_link: "返回登录",
            passwd_same_error: "两次输入的密码不一致"
        },
        layout: {
            title: "控制台",
            version: "版本 {version}",
            has_update: "有新版本！",
            view_update: "查看更新",
            latest: "已是最新版本",
            docs: "说明文档",
            running: "运行中",
            logout: "登出",
            logout_confirm_title: "确认登出",
            logout_confirm_message: "确定要登出吗？",
            logout_confirm_ok: "确定登出",
            logout_confirm_cancel: "取消",
            docs_config_warning: "请先配置文档网址",
            language: "语言",
            lang_en: "英语",
            lang_zh: "中文"
        },
        dashboard: {
            app_list: "应用列表",
            app_list_sub: "管理您的所有应用"
        },
        project: {
            list_title: "应用列表",
            list_sub: "管理您的所有应用",
            add_app: "添加应用",
            status_running: "运行中",
            status_creating: "创建中",
            empty_title: "暂无项目",
            empty_desc: "点击右上角「添加项目」创建您的第一个项目",
            empty_btn: "开始创建",
            dialog_add_title: "添加应用",
            dialog_app_name: "应用名称",
            dialog_app_name_placeholder: "请输入应用名称",
            cancel: "取消",
            create_app: "创建应用",
            creating_warning: "该应用正在创建中，请稍后再试",
            input_project_name: "请输入项目名称",
            create_success: "应用创建成功"
        },
        project_detail: {
            title: "概览",
            breadcrumb_home: "首页",
            page_title: "应用概览",
            page_sub: "查看应用的基本信息和运行状态",
            healthy: "运行正常",
            card_app_info: "应用信息",
            field_app_name: "应用名称",
            unset: "未设置",
            field_status: "应用状态",
            unknown: "未知",
            field_table_count: "数据表数量",
            quick_actions: "快速操作",
            manage_tables: "管理数据表",
            api_keys: "API 密钥",
            base_settings: "基础设置",
            third_integrations: "第三方集成",
            detail_info: "详细信息",
            field_app_id: "应用ID",
            field_owner: "所有者",
            field_need_auth: "需要认证",
            yes: "是",
            no: "否",
            field_permission: "权限控制",
            enabled: "启用",
            disabled: "禁用",
            field_web_console: "Web控制台",
            field_auth_table: "认证表",
            field_description: "应用描述",
            project_nav: "项目导航",
            project_console: "项目控制台",
            menu_overview: "概览",
            menu_tables: "数据表",
            menu_dynamicapi: "第三方服务集成",
            menu_apikeys: "API KEYS",
            menu_settings: "应用管理",
            project_manage: "项目管理"
        },
        tables: {
            title: "数据表",
            sub: "管理应用数据表",
            new_table: "新建表",
            edit_table: "编辑表",
            delete_table: "删除表",
            no_tables: "暂无数据表",
            no_tables_tip: "点击上方按钮创建第一个数据表",
            select_table_title: "选择数据表",
            select_table_tip: "请从左侧选择一个数据表开始管理",
            export_data: "导出数据",
            add_data: "添加数据",
            actions: "操作",
            data_manage: "数据管理",
            edit_data: "编辑数据",
            input_password: "请输入密码",
            please_select: "请选择{label}",
            default_value: "默认值",
            save_data: "保存数据",
            table_basic: "表基本信息",
            table_name: "表名",
            table_name_placeholder: "请输入表名（英文）",
            table_name_hint: "建议使用英文，如：user_info",
            table_desc: "表描述",
            field_list: "字段列表",
            add_field: "添加字段",
            no_fields: "暂无字段，点击上方按钮添加",
            field_label: "字段 {index}",
            field_name: "字段名称",
            field_name_placeholder: "字段名",
            field_type: "字段类型",
            choose_type: "选择类型",
            ref_object: "关联对象",
            field_desc: "字段描述",
            is_primary: "是否主键",
            is_required: "是否必填",
            is_show: "是否关联展示",
            default_value_placeholder: {
                string: "请输入默认字符串",
                integer: "请输入默认数字",
                decimal: "请输入默认小数",
                boolean: "true 或 false",
                date: "YYYY-MM-DD",
                datetime: "YYYY-MM-DD HH:mm:ss",
                password: "默认密码"
            },
            drawer_table_title_add: "新建表",
            drawer_table_title_edit: "编辑表",
            save: "保存",
            confirm_delete_table: "删除表同时会将数据给删除, 确定要删除表 \"{name}\" 吗？",
            delete_success: "删除成功",
            delete_failed: "删除失败",
            table_created: "表创建成功",
            table_updated: "表更新成功",
            empty_text: "暂无数据",
            bool_true: "是",
            bool_false: "否",
            operations: "操作"
        },
        apikeys: {
            title: "API 密钥管理",
            section_generate: "生成新密钥",
            name: "密钥名称",
            name_placeholder: "请输入密钥名称，如：生产环境密钥",
            desc: "密钥描述",
            desc_placeholder: "可选：描述此密钥的用途和使用场景",
            expire_at: "过期时间",
            expire_placeholder: "选择过期时间（可选）",
            expire_hint: "留空表示永不过期",
            btn_generate: "生成密钥",
            btn_reset: "重置",
            list_title: "已生成的密钥",
            btn_refresh: "刷新",
            api_howto: "API调用方式",
            api_howto_replace_hint: "请将 YOUR_API_KEY 替换为实际的 API 密钥",
            loading: "加载中...",
            empty: "暂无API密钥",
            status_enabled: "已启用",
            status_disabled: "已禁用",
            btn_show_key: "查看密钥",
            btn_delete: "删除",
            field_name: "密钥名称:",
            field_created: "创建时间:",
            field_last_used: "最后使用:",
            never_used: "从未使用",
            field_desc: "描述:",
            field_expire: "过期时间:",
            value_label: "密钥值:",
            btn_copy: "复制",
            btn_hide: "隐藏密钥",
            btn_show: "显示密钥",
            copy_success: "密钥已复制到剪贴板",
            copy_failed: "复制失败",
            warn_input_name: "请输入密钥名称",
            gen_success: "密钥生成成功",
            gen_failed: "生成密钥失败",
            toggle_success_prefix: "密钥已",
            enabled: "启用",
            disabled: "禁用",
            op_failed: "操作失败",
            confirm_delete_title: "删除密钥",
            confirm_delete_message: "确定要删除密钥 \"{name}\" 吗？此操作不可撤销。",
            confirm_delete_ok: "确定删除",
            confirm_delete_cancel: "取消",
            delete_success: "密钥删除成功",
            delete_failed: "删除密钥失败"
        },
        dynamicapi: {
            title: "第三方服务集成",
            add_service: "添加外部服务",
            field_key: "服务标识",
            field_key_placeholder: "请输入服务标识，如：weather_service",
            field_key_hint: "仅允许小写字母+数字，长度小于16个字符，必须以小写字母开头",
            field_url: "请求URL",
            field_url_placeholder: "https://api.example.com/get_weather",
            field_url_hint: "请输入完整的API接口地址，支持 http:// 或 https:// 协议，各国顶级域名(.cn, .uk, .de等)，以及URL参数(?param=1)",
            field_desc: "服务描述",
            field_desc_placeholder: "可选：描述此服务的用途和使用场景",
            field_method: "请求方法",
            field_headers: "请求头",
            field_headers_hint: "支持占位符，如 {{token}}、{{userId}} 等",
            field_body: "请求体",
            field_body_hint: "支持占位符，如 {{text}}、{{content}}、{{location}} 等",
            field_return_example: "返回值样例",
            btn_add: "添加服务",
            btn_reset: "重置",
            test_title: "测试服务调用",
            btn_extract_vars: "提取变量",
            input_var_value: "输入变量值",
            input_var_desc: "变量描述（可选）",
            no_vars: "未检测到任何变量。",
            btn_exec_test: "执行测试",
            result_label: "返回结果：",
            configured_title: "已配置的服务",
            btn_refresh: "刷新",
            loading: "加载中...",
            empty: "暂无配置的外部服务",
            field_url_label: "URL:",
            field_method_label: "方法:",
            field_desc_label: "描述:",
            field_headers_label: "请求头:",
            field_body_label: "请求体:",
            field_return_example_label: "第三方服务返回的JSON结构示例。建议结合测试结果，补齐返回参数描述。以便AI更好的理解",
            btn_toggle_details_show: "收起",
            btn_toggle_details_hide: "展开详情",
            confirm_delete_title: "删除服务",
            confirm_delete_message: "确定要删除服务 \"{name}\" 吗？此操作不可撤销。",
            confirm_delete_ok: "确定删除",
            confirm_delete_cancel: "取消",
            delete_success: "服务删除成功",
            delete_failed: "删除服务失败",
            fetch_failed: "获取服务列表失败",
            url_invalid: "URL格式不正确",
            key_invalid: "服务标识格式不正确：仅允许小写字母+数字，长度小于16个字符，必须以小写字母开头",
            need_fields_warning: "请填写服务标识和URL和服务描述",
            need_test_warning: "请先测试一下服务",
            json_invalid: "请求头或请求体不是合法的 JSON",
            request_failed_prefix: "请求失败: "
        },
        settings: {
            app_manage_title: "应用管理",
            app_config_center: "应用配置中心",
            section_app_manage: "应用管理",
            menu_users: "登录用户",
            section_config_center: "配置中心",
            menu_basic: "基本信息",
            menu_auth: "登录策略",
            menu_permission: "权限策略",
            section_danger: "危险区域",
            menu_delete: "删除应用",
            fetch_info_failed: "获取应用信息失败"
        },
        settings_basic: {
            title: "基础配置",
            save: "保存",
            app_name: "应用名称",
            app_name_placeholder: "请输入应用名称",
            fetch_info_failed: "获取应用信息失败",
            warn_app_name: "请输入应用名称",
            save_success: "保存成功",
            save_failed: "保存失败"
        },
        settings_auth: {
            title: "登录策略",
            subtitle: "通过多种登录方式和提供商，实现用户登录认证。",
            save: "保存",
            enable_login: "是否开启登录",
            bind_business: "登录关联业务",
            bind_business_placeholder: "请选择关联业务",
            provider_wechat: "微信",
            wechat_appid: "微信服务号APPID",
            wechat_appid_placeholder: "微信服务号APPID",
            wechat_secret: "微信服务号SECRET",
            wechat_secret_placeholder: "微信服务号SECRET",
            redirect_uri: "重定向地址",
            redirect_uri_placeholder: "例如：https://your-domain.com/auth/redirect",
            redirect_uri_tip: "当oauth2认证服务商通过认证后页面会重定向到该地址，并在地址后方拼接 &token=xxxx 表示用户认证通过后的令牌",
            callback_uri: "回调地址",
            callback_uri_placeholder: "例如：https://your-domain.com",
            callback_uri_tip: "oauth2授权服务认证时的回调地址，需要和认证服务商处配置的回调地址保持完全一致",
            provider_email: "Email",
            smtp_host: "SMTP服务器地址",
            smtp_host_placeholder: "例如：smtp.qq.com",
            smtp_port: "端口号",
            smtp_port_placeholder: "例如：465",
            smtp_user: "发件邮箱",
            smtp_user_placeholder: "例如：admin@example.com",
            smtp_pass: "授权码/密码",
            smtp_pass_placeholder: "请输入授权码",
            code_template: "验证码模版",
            code_template_placeholder: "验证码模版,可以在合适的位置放入变量${{code}}",
            provider_google: "Google",
            google_client_id: "Google Client ID",
            google_client_id_placeholder: "Google OAuth Client ID",
            google_client_secret: "Google Client Secret",
            google_client_secret_placeholder: "Google OAuth Client Secret",
            login_save_success: "登录配置保存成功",
            save_failed: "保存失败",
            fetch_info_failed: "获取应用信息失败"
        },
        settings_permission: {
            title: "权限策略",
            subtitle: "管理表的行级安全策略",
            save: "保存",
            no_tables: "暂无数据表",
            public_access: "公开访问",
            enable: "启用",
            save_success: "保存成功",
            save_failed: "保存失败",
            fetch_info_failed: "获取应用信息失败",
            planning: "规划中...."
        },
        settings_cleanup: {
            planning: "规划中(近期即将上线)..."
        },
        settings_delete: {
            danger_title: "危险操作",
            warning: "删除应用将永久移除所有相关数据，此操作不可撤销。",
            includes: "包括：数据表、API密钥、配置信息等",
            delete_btn: "删除应用",
            fetch_info_failed: "获取应用信息失败",
            confirm_title: "删除应用",
            confirm_message: "请输入应用名称 \"{name}\" 以确认删除操作",
            confirm_ok: "确认删除",
            confirm_cancel: "取消",
            name_mismatch: "应用名称不匹配，请重新输入",
            name_mismatch_cancelled: "应用名称不匹配，删除操作已取消",
            delete_success: "应用删除成功",
            delete_failed: "删除应用失败"
        },
        error401: {
            back: "返回",
            title: "401错误!",
            no_permission: "您没有访问权限！",
            info: "对不起，您没有访问权限，请不要进行非法操作！您可以返回主页面",
            back_home: "回首页"
        },
        error404: {
            title: "404错误!",
            not_found: "找不到网页！",
            info: "对不起，您正在寻找的页面不存在。尝试检查URL的错误，然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。",
            back_home: "返回首页"
        }
    }
}